package org.zfes.snowier.cloud.zbss.cms.checkFlow.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.checkFlow.model.CmsCheckFlow;
public interface ICmsCheckFlowService{

	 Optional<CmsCheckFlow> loadCmsCheckFlowById(Long id);
	
	 void createCmsCheckFlow(CmsCheckFlow cmsCheckFlow);
	
	 void updateCmsCheckFlow(CmsCheckFlow cmsCheckFlow);

	 void deleteCmsCheckFlow(Long id);
	
	 DataSet loadCmsCheckFlowDataSet(Map<String, Object> params);
	 

 	void setCmsCheckFlowStatus(Long id, Byte status);
 	
 	Optional<CmsCheckFlow> startCheckFlow(Long flowId,Long siteId);
}